package com.example.administrator.alarmservice;

/**
 * Created by Administrator on 2018/5/31.
 */
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;

public class NotifySevice extends Service{
    public IBinder onBind(Intent arg0){
        return null;
    }
    public void onCreate(){
        alarmServiceActivity app=alarmServiceActivity.getApp();
        app.btEvent("from NotifyService");
        Toast.makeText(this,"这是系统自带的Service.",Toast.LENGTH_LONG).show();

    }
}
